
#include "member_BThread.h"

using namespace BWE;

member_BThread::member_BThread(BThread* thread)
{
	boss = thread;
	sleeping = true;
	done = false;
	code = 0;
	frameCount = 0;
	frequency = -1;
	frameTick = 0.0;
	realFrequency = 0;
#ifdef linux
	handle = 0;
#endif
#ifdef _WIN32
	ID = 0;
	handle = 0;
	htimer = 0;
#endif
}
member_BThread::~member_BThread()
{

}

int member_BThread::run()
{
	return boss->run();
}
